/* 标题样式 */
.header-title {
  background-color: #1E90FF;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 24px;
  font-weight: bold;
  z-index: 998; /* 确保标题在搜索控制之上 */
}

.search-control-container {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 999; /* 确保搜索控制在最上层 */
  background: white;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hotel-list-container {
  margin-top: 20px; /* 根据搜索控制容器的高度调整 */
  padding: 20px;
  overflow-y: auto; /* 允许垂直滚动 */
  height: calc(100vh - 160px); /* 确保内容区域高度为视口高度减去标题和搜索控制的高度 */
}

.hotel-list {
  flex: 1;
  margin-bottom: 40px;
}



.filter-tags{
  height: 40px;
}

.filter-containter div{
  font-size: 10px!important;
}
.filter-containter label{
  font-size: 10px!important;
}

.search-header {
  height: auto !important;
  padding: 0;
}

.search-card {
  margin-bottom: 20px;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
}

.hotel-list {
  flex: 1;
  margin-bottom: 40px;
}

.hotel-col {
  margin-bottom: 20px;
}

.pagination-footer {
  height: auto !important;
  padding: 20px 0;
  background: none;
}

.pagination-main {
  display: flex;
  justify-content: center;
}

.map-container {
  position: relative;
  height: 70vh;
}

.map-tools {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  width: 320px;
}

.search-box {
  margin-bottom: 15px;
}

.radius-control {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ctrl-bar{
  margin-top: -5px;
  margin-bottom: 10px;
}


.search-results {
  max-height: 300px;
  overflow-y: auto;
  margin-top: 15px;
}

.result-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.3s;
}

.result-item:hover {
  background: #f5f7fa;
}

.result-item .title {
  font-weight: 500;
  color: #303133;
}

.result-item .address {
  font-size: 12px;
  color: #909399;
  margin-top: 5px;
}

.map-footer {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  gap: 15px;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.left-filters {
  display: flex;
  align-items: center;
  gap: 15px;

  .sort-select {
    width: 180px;
  }
}

.mb-10{
  margin-bottom: 10px;
}
.mt-10{
  margin-top: 10px;
}
.mr-10{
  margin-right: 10px;
}
.ml-10{
  margin-left: 10px;
}

.advanced-filters {
  padding: 10px;

  .filter-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;

    .filter-label {
      width: 60px;
      font-size: 14px;
      color: #606266;
    }
  }

  .filter-actions {
    margin-top: 15px;
    text-align: right;
  }
}

.hotel-image-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hotel-info {
  display: flex;
  flex-direction: column;
  margin-left: 10px; /* 图片与信息的间距 */
}
.price-info{
  margin-bottom: 5px;
}

.price-text {
  color: #f7ba2a;
  font-weight: bold;
  font-size: 18px; /* 加大价格字体 */
  margin-bottom: 10px; /* 价格与按钮的间距 */
}

.book-button {
  margin-bottom: 10px; /* 按钮与评分的间距 */
}

.rating-number {
  font-size: 14px; /* 评分数字的字体大小 */
}

.hotel-card .el-tag {
  font-size: 16px; /* 加大星级显示的字体大小 */
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hotel-list-container {
    margin-top: 20px; /* 根据小屏幕上的搜索控制容器高度调整 */
    height: calc(100vh - 120px); /* 小屏幕上的高度调整 */
  }

  .hotel-col {
    margin-bottom: 15px;
  }

  .pagination-footer {
    padding: 15px 0;
  }

  .filter-bar {
    flex-direction: column;
    gap: 15px;
  }

  .left-filters {
    width: 100%;
    justify-content: space-between;
  }
}
